package com.dk.service.impl;

import com.dk.pojo.User;
import com.dk.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

//@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private User user;

    public void getInfo(){
        System.out.println(user.getSex());
        System.out.println(user.getBirth());
        System.out.println(user.getCid());
        System.out.println(user.getNikey());
        System.out.println(user.getUsername());
    }
}
